package com.chinamoney.wppm.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.chinamoney.wppm.service.UserService;

/**
 * 
 * @author Jason_Jiang
 *
 */
@RestController
public class UserController {

	@Autowired
	private UserService userService;
	
	/**
	 * 
	 * @param ids :用户ID
	 * @return
	 */
	@GetMapping("user/list/ids")
	public String getUserByIds(@RequestParam("ids") String ids) {
		return userService.getUserNameByIds(ids);
	}
	 
	
}
